
/**   
 * @Title: UserInfoService.java 
 * @Package com.neusoft.neumooc.service 
 * @Description: TODO 
 * @author acer   
 * @date 2016年10月31日 上午9:50:02 
*/

package com.neusoft.neumooc.service;

import java.util.List;

import com.neusoft.core.common.exception.DAOException;
import com.neusoft.core.common.exception.ServiceException;
import com.neusoft.neumooc.VO.UserVO;


/** 
 * @ClassName: UserInfoService 
 * @Description: TODO 
 * @author Fuyongjun
 * @date 2016年10月31日
 */

public interface UserInfoService {
	/**
	 * @Title:queryUserInfo()
	 * @Description: 获取用户信息
	 * @param
	 * @return
	 * @throws DAOException
	 */
	public int getUserCount() throws ServiceException;

	/**
	 * @Title:List<UserVO> getMenus
	 * @Description: 获取用户信息
	 * @param
	 * @return
	 * @throws DAOException
	 */
	public List<UserVO> getUsers(int pageNo, int pageSize) throws ServiceException;
	
	/**
	 * @Title:UserVO getUsers
	 * @Description: 插入用户信息
	 * @param
	 * @return
	 * @throws DAOException
	 */
	public int insertUsers(UserVO userVO) throws ServiceException;
	
	
	/**
	 * @Title:UserVO getUsers
	 * @Description: 插入用户信息重名
	 * @param
	 * @return
	 * @throws ServiceException
	 */
	public boolean checkRepeat(String  name)throws ServiceException;
}
